﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Isha.Entities;
using Isha.Services.Infrastructure;
using Isha.Data.Infrastructure;
using Isha.Repositories.Infrastructure;

namespace Isha.Services
{
    public interface IPartService : IServiceBase
    {
        void Initialize(IPartRepository partRepository, IUnitOfWork unitOfWork);

        IEnumerable<Part> GetParts();
        Part GetPart(long id);
        void CreatePart(Part part);
        void DeletePart(long id);        
    }
}
